<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json"%>
<json:object>
	<c:choose>
		<c:when test="${!empty donateTarget}">
			<json:property name="res" value="ok" />
			<json:array name="donateTargetsend" var="donate"
				items="${donateTarget}">
				<json:object>
					<json:property name="dcode" value="${donate.dcode}" />
					<json:property name="dtarget" value="${donate.dtarget}" />
					<json:property name="dinformation" value="${donate.dinformation}" />
					<json:property name="dgoal" value="${donate.dgoal}" />
					<json:property name="dstartdate" value="${donate.dstartdate}" />
					<json:property name="denddate" value="${donate.denddate}" />
					<json:property name="dsenddate" value="${donate.dsenddate}" />
					<json:property name="pbookamount" value="${donate.pbookamount}" />
				</json:object>
			</json:array>
		</c:when>
		<c:otherwise>
			<json:property name="res" value="no" />
		</c:otherwise>
	</c:choose>
</json:object>

